package inheritance;

import inheritance.Greeter;
import inheritance.Worker;

public class ConcurrentWorker extends Greeter {

    @Override
    public void work() {
        Thread t = new Thread(supper::work);
        t.start();
    }
}